package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

/**角色经验改变事件*/
@Getter
public class RoleExpChangeEvent extends BasePlayerEvent {
    private Role role;
    /**增加或者减少的经验值*/
    private int change;

    public RoleExpChangeEvent(EventType evtType, Role role, int change) {
        super(evtType, role);
        this.role = role;
        this.change = change;
    }
}
